class CreatePointOfInterests < ActiveRecord::Migration
  def self.up
    create_table :point_of_interests do |t|
      t.column :created_at, :datetime
      t.column :updated_at, :datetime
      t.column :name, :string
      t.column :latitude, :float, :default => 0
      t.column :longitude, :float, :default => 0
    end
  end

  def self.down
    drop_table :point_of_interests
  end
end
